package com.foreveross.bsl.system.model.domain;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import com.foreveross.bsl.mongodb.domain.Entity;


/**
 * @description
 *
 * @author rening
 * @version v1.0
 *
 * @2013-6-8
 *
 */
@Document(collection = "router_database")
public class RouterDatabase extends Entity{

	@Id
	private String id;
	
	@Field("register_no")
	private String registerNo;
	
	@Field("conn_name")
	private String connName;
	
	@Field("database_name")
	private String databaseName;

	/**
	 * @return the id
	 */
	public String getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * @return the registerNo
	 */
	public String getRegisterNo() {
		return registerNo;
	}

	/**
	 * @param registerNo the registerNo to set
	 */
	public void setRegisterNo(String registerNo) {
		this.registerNo = registerNo;
	}

	/**
	 * @return the connName
	 */
	public String getConnName() {
		return connName;
	}

	/**
	 * @param connName the connName to set
	 */
	public void setConnName(String connName) {
		this.connName = connName;
	}

	/**
	 * @return the databaseName
	 */
	public String getDatabaseName() {
		return databaseName;
	}

	/**
	 * @param databaseName the databaseName to set
	 */
	public void setDatabaseName(String databaseName) {
		this.databaseName = databaseName;
	}

}
